Leadtools.Dicom.Server.Admin Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SendMessage(String,Object[]) Method
See Also 
Leadtools.Dicom.Server.Admin Namespace > DicomService Class > SendMessage Method : SendMessage(String,Object[]) Method




Message
The name of the message to send.
data
The extra data to send along with the message.
Message
The name of the message to send.
data
The extra data to send along with the message.
Sends a message to the DICOM Service.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub SendMessage( _
   ByVal Message As String, _
   ByVal ParamArray data() As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomService
Dim Message As String
Dim data() As Object
 
instance.SendMessage(Message, data)
C# 
public void SendMessage( 
   string Message,
   params object[] data
)
Managed Extensions for C++ 
public: void SendMessage( 
   string* Message,
   params Object*[]* data
) 
C++/CLI 
public:
void SendMessage( 
   String^ Message,
   ... array<Object^>^ data
) 

Parameters

Message
The name of the message to send.
data
The extra data to send along with the message.

Example

For an example refer to ServiceAdministrator.InstallService

Remarks

The T:Message event will be generated when a response is received. The service needs to be running before it can accept messages.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom.Server.Admin requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features